* {
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

img {
  display: block;
}

a {
  color: black;
}

.box {
  width: 500px;
  height: 350px;
  position: relative;
  display: flex;
  margin: 20px auto 0;
}

.box .pic {
  width: 500px;
  height: 350px;
  position: relative;
  z-index: 1;
}

.box .pic img {
  width: 500px;
  height: 350px;
}

.box .pic p {
  width: 500px;
  height: 50px;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  line-height: 50px;
  color: white;
  position: absolute;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.box .left {
  position: absolute;
  left: 0;
  top: 140px;
  width: 50px;
  line-height: 350px;
  z-index: 10;
  display: none;
}

.box .right {
  position: absolute;
  right: 10px;
  top: 140px;
  width: 50px;
  line-height: 350px;
  z-index: 10;
  display: none;
}

.box .page {
  position: absolute;
  bottom: 10px;
  left: 200px;
  z-index: 20;
}

.box .page a {
  float: left;
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: black;
  margin: 0 5px;
}

.active {
  background-color: white !important;
}

.box:hover .left {
  display: block;
}

.box:hover .right {
  display: block;
}
